﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeEdu.MODEL
{
    [DisplayName("退款表")]
    public class Refund
    {
        [DisplayName("退款表主键")]
        [Key]
        public int TID { get; set; }
        [DisplayName("退款金额")]
        public decimal Tsum { get; set; }
        [DisplayName("退款用户")]
        public int UserID { get; set; }
        [DisplayName("退款状态")]
        public string Tstade { get; set; }
        [DisplayName("退款提交时间")]
        public DateTime Date { get; set; }
        [DisplayName("退款原因")]
        public string Treason { get; set; }
        [DisplayName("退款类型")]
        public string Type { get; set; }
        [DisplayName("用户外键")]
        public Nullable<int> UserInfoId { get; set; }
        public virtual UserInfo UserInfo{ get; set; }
        [DisplayName("订单外键")]
        public Nullable<int> OID { get; set; }
        public virtual Order Order{ get; set; }
    }
}
